Electric motors such as this direct current motor convert electricity into mechanical energy. A coil rotates between both poles of a magnet. The magnetic field of the magnet interacts with the magnetic field of the coil and thus causes the coil to rotate. After every half revolution the current is reversed with a collector. This is necessary to invert the magnetic field of the coil and to keep it turning.